Adjust buffer read size on the client side as well.
Connection sleep calculations moved inside their own functions. Logic is now applied to client side as well.
This applies connection shaping to the request (likewise this happens on the response side)
This is the last bit. Code style fixed. Now NProxy can shape requests and responses.

This small work was made necessary while developing some AngularJS applications which
required heavy client-side uploads.
With NProxy i am now able to simulate a slow internet connection and debug the application when
upload and download speeds are not perfect.