Implement ZMQ_TYPE and ZMQ_MECHANISM as string

TODO:
- Add Travis support