virtual public IHttpResponse ProcessCall(ISocketWrapper socketWrapper) { _socketWrapper = socketWrapper; Socket test; _socketWrapper.SkipByteCount(_verbLength + 1); var buffer = new byte[MaximumUriLength]; _socketWrapper.Receive(buffer); var uri = buffer.ConvertISO_8859_1ToString(); if (uri.Contains(Environment.NewLine) == false) { throw new BadRequestException("Uri to long"); } // Return 414? Uri = uri.Substring(0, uri.IndexOf(' ')); return(null); }