change http parser into a more reliable one
CHANGE PROTOCOL TO FIT HTTP