Added default User-Agent to rex_socket
update coding standards