added first implementation for parsing http requests