Fixed select() event dispatcher

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Updated http client response handling

Signed-off-by: Tom Wright <tom@inflatablecookie.com>