simple customizable http proxy written using socket