updated setHttpSocket with return value
updated HttpSocket docblock