rename client -> socket
move curb support to adapter
implemented HTTPI adapter