Small package refactoring.
Added filter enforcing HTTPS connection.