Return server 400 when received bad http request.
add ssl configuration.
remove unused maven artifacts dependencies.
Add SSL support.