*/
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String method = req.getMethod();
String uri = sanitiseUri(req.getRequestURI());
if (method.equals("POST") && uri.endsWith("/responses")) {
nextResponse = new RestResponse();
InputStream is = req.getInputStream();
String line = HttpParser.readLine(is, Charset.defaultCharset().name());
String[] incipit = line.split(" ");
nextResponse.setStatusCode(Integer.valueOf(incipit[0]));
Header[] headers = HttpParser.parseHeaders(is, Charset.defaultCharset().name());