Added setOption to coap.request.

It was achieved by refactoring ServerResponse in OutgoingMessage,
and using it to do also the request.