Add close function to clojure.
Fix wrong usage of ternary operator.
Now recv raises error with full error description.
Fix wrong usage of some constans on RepSocket.