added disconnect() method

Signed-off-by: Sean Nicholls <seannicholls@gmail.com>
added (non-functional) http-server example

Signed-off-by: Sean Nicholls <seannicholls@gmail.com>