Greatly improved the receive_frame function.
Added STOMP heartbeat functionality.
Improved subscribe function, added unsubscribe function.
Implemented ack and nack functions.
Added further event callback registration functions.