Cleaned up the endpoint and simplified the constuctors. Added documentation
Refactored Endpoint into an interface Endpoint and the default implementation CoAPEndpoint. This allows writting other endpoints, e.g., for multicasts