First pass at a modern Java idiomatic API
Ensure Socket and Context call the close machinery once

Add simple tests for sending and receiving Frames and Messages