On close method

Addresses #55 

Added a no-op applications can override to take action against a WebSocket close. 

PEP8 compliant.

Tested by adding on_socket_close() to notes application.