change on_connect/2 to on_connect/3 and on_disconnect/2 to on_disconnect/3
version bump 0.5.2