http decoder initial version