Added argument handling. For now default port is 5002.
Dummy functions added for planned supported ldap requests.