a lot of updates... added http parsing