Smtp server: fix from-address handling

Added email address parsing test cases